﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MODEL;

namespace Service
{
    public interface IRoleService
    {
        Task<IEnumerable<Role>> QueryRole(int? userId = null);

        Task<int> UpdateUserRole(int userId, int roleId);
    }
}
